<ui:composition xmlns="http://www.w3.org/1999/xhtml"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:p="http://primefaces.org/ui"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	template="/template/main.xhtml">

	<ui:define name="body">
		<h:form enctype="multipart/form-data">

			<p:fileUpload
				fileUploadListener="#{fileUploadController.handleFileUpload}"
				mode="advanced" update="messages" multiple="true" sizeLimit="100000"
				allowTypes="/(\.|\/)(gif|jpe?g|png)$/" />

			<p:growl id="messages" showDetail="true" />

		</h:form>
	</ui:define>
</ui:composition>